package com.ruicar.afs.cloud.channel.blacklist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruicar.afs.cloud.channel.blacklist.entity.BlacklistTemp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author Ice
 * @Date 2020/05/27
 */
public interface BlacklistTempMapper extends BaseMapper<BlacklistTemp> {
    List<Long> getBlackListIds(@Param("userName") String userName, @Param("key") String key, @Param("relieve") String relieve);

    IPage<List<BlacklistTemp>> getRegister(Page page, @Param("blackName") String blackName, @Param("blacklistType") String blacklistType, @Param("carDealers") String carDealers, @Param("idCode") String idCode, @Param("userName") String userName, @Param("key") String key);
}
